import request from '@/config/axios'

const userBaseUrl = 'http://localhost:3000/dev-api/users'

// 社团管理-社团列表-获取用户列表信息
// export const fetchGetUserList = () => {
//   return request.get({ url: `${userBaseUrl}` })
// }

export const fetchGetUserList = (params: { pageSize?: number | undefined; currentPage: number | undefined }): Promise<IResponse> => {
  return request.get({ url: `${userBaseUrl}`, params })
}